import request from '@/utils/request'

// 查询生理期信息列表
export function listUser_physiology(query) {
  return request({
    url: '/ring/user_physiology/list',
    method: 'get',
    params: query
  })
}

// 查询生理期信息详细
export function getUser_physiology(id) {
  return request({
    url: '/ring/user_physiology/' + id,
    method: 'get'
  })
}

// 新增生理期信息
export function addUser_physiology(data) {
  return request({
    url: '/ring/user_physiology',
    method: 'post',
    data: data
  })
}

// 修改生理期信息
export function updateUser_physiology(data) {
  return request({
    url: '/ring/user_physiology',
    method: 'put',
    data: data
  })
}

// 删除生理期信息
export function delUser_physiology(id) {
  return request({
    url: '/ring/user_physiology/' + id,
    method: 'delete'
  })
}
